package cn.iocoder.yudao.module.lfd.controller.admin.wallet.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;


/**
 * 钱包 Excel VO
 *
 * @author 芋道源码
 */
@Data
public class WalletExcelVO {

    @ExcelProperty("id")
    private Long id;

    @ExcelProperty("类型")
    private String type;

    @ExcelProperty("金额")
    private BigDecimal amount;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @ExcelProperty("顾客")
    private Long customerId;

    @ExcelProperty(value = "删除", converter = DictConvert.class)
    @DictFormat("infra_boolean_string") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Boolean deleted;

    @ExcelProperty("理发单")
    private Long appointmentId;

}
